package com.gengzp.common.model.permission.resp;

import com.gengzp.common.document.annotations.ApiModel;
import com.gengzp.common.document.annotations.ApiModelProperty;
import com.gengzp.common.model.permission.dto.PermissionDto;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * @ClassName SearchUserPermissionResp
 * @Description 查询用户拥有的权限返回实体
 * @Author gengzp
 * @Date 2025/8/4 20:33
 */
@Data
@ApiModel(description = "查询用户拥有的权限返回实体")
public class SearchUserPermissionResp implements Serializable {

    @Serial
    private static final long serialVersionUID = 35824521475764240L;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    private String userId;

    /**
     * 权限集合
     */
    @ApiModelProperty(value = "权限集合", collectionGenericClass = PermissionDto.class)
    private List<PermissionDto> permissions;

}
